package Model;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;


@Data
public class Staff extends PageBean {
    private Integer id;
    private String ybid;
    private String rylb;
    private String name;
    private String password;
    private String gender;
    private String id_number;
    private String zylevel;
    private String phone_number;
    private String sbdw;
    private String sbdwcode;
    private String worklength;
    private String status;
    private String certificate_code;
    private String lastserv_org;
    private String serv_org;
    private String result;
    private String open_id;
    private String device_hg;
    private String settlement_code;



    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date fzrq;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date start_change_date;


    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date ybbsmrq;

    @DateTimeFormat(pattern = "yyyy-MM-dd\'T\'HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd\'T\'HH:mm:ss", timezone = "GMT+8")
    private Date fservdate;

    @DateTimeFormat(pattern = "yyyy-MM-dd\'T\'HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd\'T\'HH:mm:ss", timezone = "GMT+8")
    private Date history_change_time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getYbid() {
        return ybid;
    }

    public void setYbid(String ybid) {
        this.ybid = ybid;
    }

    public String getRylb() {
        return rylb;
    }
    public String getPassword() { return password; }

    public void setPassword(String password) { this.password = password; }

    public String getGender() { return gender; }

    public void setRylb(String rylb) {
        this.rylb = rylb;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getId_number() {
        return id_number;
    }

    public void setId_number(String id_number) {
        this.id_number = id_number;
    }

    public String getZylevel() {
        return zylevel;
    }

    public void setZylevel(String zylevel) {
        this.zylevel = zylevel;
    }

    public String getPhone_number() {
        return phone_number;
    }

    public void setPhone_number(String phone_number) {
        this.phone_number = phone_number;
    }

    public String getSbdw() {
        return sbdw;
    }

    public void setSbdw(String sbdw) {
        this.sbdw = sbdw;
    }

    public String getSbdwcode() {
        return sbdwcode;
    }

    public void setSbdwcode(String sbdwcode) {
        this.sbdwcode = sbdwcode;
    }

    public String getWorklength() {
        return worklength;
    }

    public void setWorklength(String worklength) {
        this.worklength = worklength;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCertificate_code() {
        return certificate_code;
    }

    public void setCertificate_code(String certificate_code) {
        this.certificate_code = certificate_code;
    }

    public String getLastserv_org() {
        return lastserv_org;
    }

    public void setLastserv_org(String lastserv_org) {
        this.lastserv_org = lastserv_org;
    }

    public String getServ_org() {
        return serv_org;
    }

    public void setServ_org(String serv_org) {
        this.serv_org = serv_org;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getOpen_id() {
        return open_id;
    }

    public void setOpen_id(String open_id) {
        this.open_id = open_id;
    }

    public String getDevice_hg() {
        return device_hg;
    }

    public void setDevice_hg(String device_hg) {
        this.device_hg = device_hg;
    }

    public Date getFzrq() {
        return fzrq;
    }

    public void setFzrq(Date fzrq) {
        this.fzrq = fzrq;
    }

    public Date getYbbsmrq() {
        return ybbsmrq;
    }

    public void setYbbsmrq(Date ybbsmrq) {
        this.ybbsmrq = ybbsmrq;
    }

    public Date getFservdate() {
        return fservdate;
    }

    public void setFservdate(Date fservdate) {
        this.fservdate = fservdate;
    }

    public Date getHistory_change_time() {
        return history_change_time;
    }

    public void setHistory_change_time(Date history_change_time) {
        this.history_change_time = history_change_time;
    }

    public String getSettlement_code() {
        return settlement_code;
    }

    public void setSettlement_code(String settlement_code) {
        this.settlement_code = settlement_code;
    }

    public Date getStart_change_date() {
        return start_change_date;
    }

    public void setStart_change_date(Date start_change_date) {
        this.start_change_date = start_change_date;
    }

    @Override
    public String toString() {
        return "Staff{" +
                "id=" + id +
                ", ybid='" + ybid + '\'' +
                ", rylb='" + rylb + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", id_number='" + id_number + '\'' +
                ", zylevel='" + zylevel + '\'' +
                ", phone_number='" + phone_number + '\'' +
                ", sbdw='" + sbdw + '\'' +
                ", sbdwcode='" + sbdwcode + '\'' +
                ", worklength='" + worklength + '\'' +
                ", status='" + status + '\'' +
                ", certificate_code='" + certificate_code + '\'' +
                ", lastserv_org='" + lastserv_org + '\'' +
                ", serv_org='" + serv_org + '\'' +
                ", result='" + result + '\'' +
                ", open_id='" + open_id + '\'' +
                ", device_hg='" + device_hg + '\'' +
                ", fzrq=" + fzrq +
                ", ybbsmrq=" + ybbsmrq +
                ", fservdate=" + fservdate +
                ", history_change_time=" + history_change_time +
                '}';
    }


}